package com.scvtc.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description: 缓存中存储的数据信息
 * @Author: yiFei
 * @date: 2022/5/27 17:59
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ForeignKeyCache implements Serializable {

    private static final long serialVersionUID = 808244230503288011L;
    /**
     * 缓存中的Id
     */
    @ApiModelProperty("缓存中的Id")
    private Long id;

    /**
     * 缓存中的name
     */
    @ApiModelProperty("缓存中对应的名字")
    private String value;

    /**
     * 数据对应的编号
     */
    @ApiModelProperty("数据对应的编号")
    private String jobNumber;
}
